
from Student import Sss
from functools import reduce
def add(a , b):
    return a + b


def fact(n):
    if n == 1:
        return 1
    return n * fact(n - 1)


def ji(n):
    return n % 2 == 0


x = 100

y = 200
print('x + y = ', add(x, y))
print(fact(3))

r = reduce(add , range(1 , 100))


print(r)

r = filter(ji , range(1,200))
print(list(r))
r = map(lambda x:x*x , range(1,100))
print(list(r))

s = Sss('李四', 20)
s.info()
